package com.ebring.shareEducation.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "ROLE_MENU")
public class RoleMenu implements Serializable {

    @Id
    private String id;  //中间表id
    private String roleId; //角色id
    private String menuId; //菜单id
    private String operation; //操作权限
    private  String remark;//预留

}
